//
//  UIView+cycleNoDataView.h
//  CycleControlFunction
//
//  Created by ddy on 2018/10/8.
//  Copyright © 2018年 cycle. All rights reserved.
//  无数据的时候显示暂无数据

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@interface UIView (cycleNoDataView)

///1.显示无数据的内容
- (void)cycle_showNoDataViewWithContent:(NSString *)content;
///退出暂无数据View
- (void)cycle_dismissNoDataView;
///2.1 显示无数据的内容和图片
- (void)cycle_showNoDataViewWithContent:(NSString *)content andImage:(NSString *)imageName;
//2.2 显示无数据的内容和图片,按钮标题以及点击按钮的操作
- (void)smc_showNoDataViewWithContent:(NSString *)content andImage:(NSString *)imageName buttonTitle:(NSString *)btnTitle block:(void(^)(void))block;
//3.显示无数据的内容和图片(可计算frame)
- (void)cycle_showNoDataViewWithFrame:(CGRect)frame Content:(NSString *)content andImage:(NSString *)imageName;

@end

NS_ASSUME_NONNULL_END
